﻿using CPPEI.ShareScreen.Event.UI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.ShareScreen.App.RD
{
    public partial class RDWindow
    {
        [CPPEI.Coolzon.Common.Subscribe]
        public void OnReceiveUIReceiveRDDataEvent(UIReceiveRDDataEvent @event)
        {
            this.SetImage(@event.Data);
        }

        [CPPEI.Coolzon.Common.Subscribe]
        public void OnReceiveUIReceiveRDDataEvent(UIRDDisconnectEvent @event)
        {
            //this.SetImage(@event.Data);
        }
    }
}
